package com.zelma.house.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import lombok.Data;

/**
 * 
 * 
 * @author zelma
 * @email 1239115389@qq.com
 * @date 2022-01-06 16:53:19
 */
@Data
@TableName("house_area")
public class AreaEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@TableId
	private Integer id;
	/**
	 * 
	 */
	private Integer parentId;
	/**
	 * 
	 */
	private String cname;
	/**
	 * 
	 */
	private Integer ctype;
	/*
	*
	* 市县的
	* */
	@TableField(exist = false)
	private List<AreaEntity> areaChildrens;

}
